/**
 /**
 * Copyright (c) 2025   All rights reserved.
 *
 * https://www.sdl.io
 *
 * 版权所有，侵权必究！
 */

package io.sdl.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 登录表单
 *
 * @authorDc 1211734836@qq.com
 */
@Data
@Schema(title = "登录表单")
public class LoginDTO {
    @Schema(title = "手机号")
    @NotBlank(message="手机号不能为空")
    private String mobile;

    @Schema(title = "密码")
//    @NotBlank(message="密码不能为空")
    private String password;

    @Schema(title = "openid")
    @NotBlank(message="网络异常,请刷新重试")
    private String openId;

    @Schema(title = "用户头像")
    private String avatarUrl;

    @Schema(title = "性别")
    private Integer gender;

    @Schema(title = "微信名称")
    private String nickName;

    @Schema(title = "当前所在地")
    private String city;

}
